package com.itstudy.service;

import com.itstudy.pojo.Article;
import com.itstudy.pojo.PageBean;

import java.util.List;

public interface ArticleService {
    void insert(Article article);

    PageBean<Article> pageQuery(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    Article getDetail(Integer id);

    void updateArticle(Article article);

    int deleteById(Integer id);
}
